<?php

case 'reset_pass':
                        if ( $session->publication->check_action_key($_GET['action_key'])) {
                            $template_type = "recover-password-form";
                        } else {
                            $session->add_get_url("Sorry, this key is incorrect.");
                        }
                        break;
                        
                        ?>

<form class="group grey-box login-form" method="post" action="index.php">
    <h5> Reset Password: </h5> <br>
    <label><span>New Password:</span>
        <input type="password" name="password1" />
    </label>
    <label><span>Repeat Password:</span>
        <input type="password" name="password2" />
    </label>
                    
    <div class="right group">
    <input class="right primary-button skin-gradient" type="submit" name="reset_pass" value="Reset" />
    </div>   
</form>